package com.woniuxy02;

/**
 * @author 作者
 * @create 2025-07-23 14:15
 */
class Ccc{
    public Cat xxx(){
        System.out.println("父类xxx");
        return null;
    }


}

class Ddd extends Ccc{
    @Override
    public Cat xxx() {
        return super.xxx();
    }
}

public class Test03 {
    public static void main(String[] args) {
        Ccc ccc = new Ccc();
        ccc.xxx();
        Ddd ddd = new Ddd();
        ddd.xxx();
    }
}
